<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link href="/module/bootstrap-table/bootstrap-table.css" rel="stylesheet"/>
    <link rel="stylesheet" type="text/css" href="/module/jeDate/jedate.css"/>
    <style type="text/css">
        #myTable tr td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding:0px;">
    <div class="row">
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="widget-header bg-themeprimary">
                <span class="widget-caption">学期设置</span>
            </div>
            <div class="widget-body">
                <div id="registration-form">
                    <form role="form">
                        <div class="form-title">学期列表</div>
                        <div class="row">
                            <div class="col-md-12">
                                <div class="buttons-preview" id="toobar">
                                    <a href="javascript:void(0);" class="btn btn-azure js-addsemester">学期设置</a>
                                </div>
                                <table id="myTable"></table>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="modal fade bs-example-modal-lg" id="setsemester" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content">

            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="myLargeModalLabel">校区设置</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal form-bordered" role="form" id="form1">
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">${i18n('system.sortNo')}：</label>
                        <div class="col-sm-9">
                            <input type="number" class="form-control" name="sortNo" id="sortNo" placeholder="${i18n('system.sortNo')}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">学期名称：</label>
                        <div class="col-sm-9">
                            <input type="text" class="form-control" id="title" name="title" placeholder="学期名称" maxlength="100">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">学年：</label>
                        <div class="col-sm-9">
                            <select class="form-control" id="schoolYear" name="schoolYear">
                                <option value="2020">2020-2021</option>
                                <option value="2021">2021-2022</option>
                                <option value="2022">2022-2023</option>
                                <option value="2023">2023-2024</option>
                                <option value="2024">2024-2025</option>
                                <option value="2025">2025-2026</option>
                                <option value="2026">2026-2027</option>
                                <option value="2027">2027-2028</option>
                                <option value="2028">2028-2029</option>
                                <option value="2029">2029-2030</option>
                                <option value="2030">2030-2031</option>
                                <option value="2031">2031-2032</option>
                                <option value="2032">2032-2033</option>
                                <option value="2033">2033-2034</option>
                                <option value="2034">2034-2035</option>
                                <option value="2035">2035-2036</option>
                                <option value="2036">2036-2037</option>
                                <option value="2037">2037-2038</option>
                                <option value="2038">2038-2039</option>
                                <option value="2039">2039-2040</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">开学日期：</label>
                        <div class="col-sm-9">
                            <input type="text" class="form-control" id="beginTime" name="beginTime" placeholder="开学日期" maxlength="100" readonly>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">放假日期：</label>
                        <div class="col-sm-9">
                            <input type="text" class="form-control" id="endTime" name="endTime" placeholder="放假日期" maxlength="50" readonly>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">学期类型：</label>
                        <div class="col-sm-9">
                            <select id="isLastOrNext" name="isLastOrNext" class="form-control">
                                <option value="1">上学期</option>
                                <option value="2">下学期</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">当前学期：</label>
                        <div class="col-sm-9">
                            <select id="currentStatus" name="currentStatus" class="form-control">
                                <option value="0">否</option>
                                <option value="1">是</option>
                            </select>
                        </div>
                    </div>
                </form>

            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                <button type="button" class="btn btn-primary js-save">${i18n('save')}</button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table-${localeLangCountry()}.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/gobal/js/page/education/param/semester.js"></script>
</html>
